package com.jtny.nytb.dataparam.vo;

import com.jtny.component.annotation.QueryParamField;
import com.jtny.component.entity.BaseDTO;
import com.jtny.component.enums.FieldMatchingTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "查询参量DTO对象")
@Data
public class DataParamManagementQueryVO extends BaseDTO implements Serializable {

    @ApiModelProperty("标签项id列表，精确查询")
    @QueryParamField(columnName = "label_item_id", matchingType = FieldMatchingTypeEnum.EQ)
    private List<Long> labelIdList;

    @ApiModelProperty("参量名称，模糊查询")
    @QueryParamField(columnName = "name", matchingType = FieldMatchingTypeEnum.LIKE)
    private  String factorName;
}
